<template>
    <van-cell-group>
      <router-link v-for="(item, index) in list" :key="index"
                   :to="{path:'/PersonalAll', query:{msg: item.current, name: item.name}}">
        <van-cell :title="item.name" :icon="item.icon"/>
      </router-link>
    </van-cell-group>
</template>

<script>
  import {Cell, CellGroup, Icon} from 'vant';

  export default {
    name: "PersonalMemberNav",
    components: {
      [Cell.name]: Cell,
      [CellGroup.name]: CellGroup,
      [Icon.name]: Icon,
    },
    data() {
      return {
        list: [
          {"current": "PersonalMessage", "name": "个人详细信息", "icon": "contact"},
          {"current": "PersonalSystemcall", "name": "通知中心", "icon": "fail"},
          // {"current": "PersonalFeedback", "name": "用户反馈", "icon": "records"},
          // {"current": "PersonalCallus", "name": "关于我们", "icon": "wap-home"},
          {"current": "PersonalCog", "name": "设置", "icon": "setting"},
        ]
      }
    },
  }
</script>

<style scoped>

</style>
